import request from "@/utils/request";

// 查询列表
export function listPayMent(query) {
  return request({
    url: "/system/contract/transactionOrder/list",
    method: "get",
    params: query,
  });
}
//查询
export function queryPayMent(query) {
  console.log(query)
  return request({
    url: "/system/contract/transactionOrder/query",
    method: "get",
    params: query,
  });
}

//编辑
export function editPayMent(data) {
  return request({
    url: "/system/contract/transactionOrder",
    method: "put",
    data,
  });
}
//是否展示
export function isShowPayMent(data) {
  return request({
    url: "/system/contract/transactionOrder/reviewed",
    method: "put",
    data,
  });
}
